package cn.xd.base.application.assembler;

import cn.xd.base.domain.bean.response.AdminOrgDTO;
import cn.xd.base.domain.bean.response.JsonAdminOrgTree;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JsonAdminOrgTreeAssembler {
    JsonAdminOrgTreeAssembler INSTANCE = Mappers.getMapper(JsonAdminOrgTreeAssembler.class);

    JsonAdminOrgTree toTree(AdminOrgDTO adminOrgDTO);
}
